package com.rybbaby.tss.platform.websocket.pojo;

import java.sql.Timestamp;

/**
 * @author 谢进伟
 * @description WebScoket配置处理器
 * @createDate 2017-02-13 下午10:20:52
 */
public class WebSocketMessageInfo {

    /**
     * 类型
     */
    private String type = "toUser";
    /**
     * 发送者
     */
    public String from;
    /**
     * 发送者名称
     */
    public String fromName;
    /**
     * 接收者
     */
    public String to;
    /**
     * 发送的文本
     */
    public String content;
    /**
     * 发送时间
     */
    public Timestamp sendTime;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getSendTime() {
        return sendTime;
    }

    public void setSendTime(Timestamp sendTime) {
        this.sendTime = sendTime;
    }
}
